Skip to content

Clean up inconsistencies in the directory where the tests are run from#588

Merged
guillaumeeb merged 5 commits into
dask:mainfrom
guillaumeeb:test-dir-inconsistant
Sep 12, 2022
Merged

Clean up inconsistencies in the directory where the tests are run from#588
guillaumeeb merged 5 commits into
dask:mainfrom
guillaumeeb:test-dir-inconsistant

Conversation

@guillaumeeb

Copy link
Copy Markdown
Member

Fixes #374.

The idea to fix the issue is to alway cd in the submitting user $HOME directory, even if the submitting user is root. I think this is the correct approach as this is closer to a real case setup. At one point, we might want to add a non root submit user to other CI. HTCondor already has one like PBS.

@guillaumeeb

Copy link
Copy Markdown
Member Author

This ended up (again) wit far more changes than I thought at first.

The reason being, on top of launching test from the corresponding docker user home, I also added a shared space in all CIs (but LocalCluster) to be able to launch some tests (for the time being, Security related tests).

So now, except the fact that some CIs are running with non privileged users inside Docker (PBS and HTCondor) and others are not, the setup from each CI is similar.

@guillaumeeb guillaumeeb merged commit f79f913 into dask:main Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Clean up inconsistencies in the directory where the tests are run from

1 participant